import {createApp} from 'vue'
import './assets/styles/index.styl'
import App from './App.vue'
import router from './router'
import particles from 'particles.vue3'
import * as THREE from 'three'  //导入threeJs

const app = createApp(App)
app.use(router)
app.use(particles)
app.config.globalProperties.$THREE = THREE  //挂载到原型
// Mount when the route is ready
router.isReady().then(() => {
  app.mount('#app', true)
})
